<template>
  <section>
    <div class="header">
      <router-link to="/">
        <span class="iconfont header-icon">&#xe624;</span>
      </router-link>
      <span class="header-title">城市选择</span>
    </div>
  </section>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="less" scoped>
  @import '~styles/varibles.less';
  @import '~styles/mixins.less';
  .header {
    position: relative;
    height: @headerHeight;
    line-height: @headerHeight;
    overflow: hidden;
    text-align: center;
    color: @fontColor;
    background: @bgColor;
    font-size: .32rem;
    .header-icon {
      position: absolute;
      width: .64rem;
      text-align: center;
      font-size: .4rem;
      top: 0;
      left: 0;
      color:@fontColor;
    }
  }
</style>
